Improved unique associative container count function. Improved also flat_xxx's equal_range.