fix gitignore & config
fix counter