I've renamed it to countIdentical in the latest iteration -- that'll hopefully make the intent clearer.  I've also added the ability (in Histogram) to supply your own identity predicate, so you can specify epsilon-closeness or anything else.