Add Array#element_counts

Change Array#duplicates to leverage #element_counts
Merge pull request #12 from Fryguy/add_array_counts

Add Array#element_counts