recover skimAnalyzerCount functionality, with fallback to counting events if no counter is present in the lumi blocks