http://bndev.sourceforge.net
Tallyer [3]
ntally method is to count the number of tuples that satisfies the criterion:
int n = t.tally(1, 2);
// n holds the number of tuples whose attribute #1 contains value 2 ni.e., tally is like invoking createSubTally() and then size()