Added an explanatory comment.
Figured out how to sort the tuples by count.