added first draft for 'frequencyCounter example'