Create countMethodExample.py