idea's files added to gitignore
fix issue with getInt on counter field