Create countBindingEvents.py