Counting of symbol code is implemented(task 2)