remove FrequencyCounter from Imageon and moved to lib/bsv