public long count()
    {
       long sum = 0L;
       for (int i = 0; i < buckets.length(); i++)
           sum += buckets.get(i);
       return sum;
    }
public long count ( ) { long sum = 0L ; for ( int i = 0 ; i < buckets . length ( ) ; i ++ ) sum += buckets . get ( i ) ; return sum ; }
@return the total number of non-zero values