counter for process ID