Fix some bugs

Fix bug with calculating string count
Fix bug with no-parametres programm call
Clear comments