public int countEightBit() {
        return count(128, 256);
    }
Counts eight bit characters, i.e. bytes with their highest bit set.

@return count of eight bit characters
tika-core/src/main/java/org/apache/tika/detect/TextStatistics.java