Added countingProcess function to project.