public Integer taskCountRecord(String connector) {
        return connectorTaskCountRecords.get(connector);
    }
Get the task count record for the connector, if one exists
@param connector name of the connector
@return the latest task count record for the connector, or {@code null} if none exists
connect/runtime/src/main/java/org/apache/kafka/connect/storage/ClusterConfigState.java