public int getCount() {
        Lock lock = this.lock.readLock();
        lock.lock();
        try {
            return this.count;
        } finally {
            lock.unlock();
        }
    }
public int getCount ( ) { Lock lock = this . lock . readLock ( ) ; lock . lock ( ) ; try { return this . count ; } finally { lock . unlock ( ) ; } }
Get the number of values that have been measured.

@return the count