added output of frequency to counter

Only currently implemented on the fast_counter. Should be trivial to add to regular counter if approved.