Rework zbb_counter script to use AnalysisEvent

Some more work is needed to remove code duplication with other scripts.
The common genpart code should go in MonteCarloSelection.py, if not yet there.