Measure the number of triggered events

Resolves #440

* introduce ``phantomas.spyGlobalVar()`` helper