Changed ''counting'' function's return object. Made it without line breake because it's useless when coverting into dictionary type. Removed dictionary ''stat'' writing to file frm cycle and because of that deleted unnecesary line 33