Initial naive frequency counters, tests to be added