extracting tag count from events using mapreduce