public int getAssignedSeriesPartitionSlotsCount(String database) {
    return partitionInfo.getAssignedSeriesPartitionSlotsCount(database);
  }
Only leader use this interface.

<p>Get the assigned SeriesPartitionSlots count in the specified Database

@param database The specified Database
@return The assigned SeriesPartitionSlots count
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/partition/PartitionManager.java