class PrimitiveLongCollections {

    public static int count(PrimitiveLongIterator iterator) {
        int count = 0;
        for (; iterator.hasNext(); iterator.next(), count++) {   // Just loop through this
        }
        return count;
    }

    private  PrimitiveLongCollections();

}