Add counter function which add symbols and words arrays to dictionaries