Fixed bug on postProcessManager

Fixed bug on postProcessManager who count the number of postProcesses instead of number of postProcessesTakenIndices.