renamed getProcessCount