add cimccounter.py and update .gitignore