long mpiSequenceCommandCount(MPISequence sequence)
SequenceCommandCount returns the number of elements on the list.