public int count(int b) {
        return counts[b & 0xff];
    }
Returns the number of occurrences of the given byte.

@param b byte
@return count of the given byte
tika-core/src/main/java/org/apache/tika/detect/TextStatistics.java