Update countBindingEvents.py