public int starts() {
        return startCounter.get();
    }
Get the number of starts.

@return the number of starts
connect/runtime/src/test/java/org/apache/kafka/connect/integration/StartAndStopCounter.java