Making multimap parameters const; adding num_tallies method