STYLE: Fix indentation
ENH: Remove PrintMatrix() method
ENH: Each process must write its own file
ENH: Global count of different events

Added code to compute the global count for different events.