added the code for printing alive object count per partition