added element count to mpi