HashContainer: Fix count() and provide contains().

Thanks, Cliff.