@Override
    public long getCount() {
        return count.get();
    }
A thread-safe implementation of {@link Counter}.
inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/ThreadSafeCounter.java