Added a warpper for countFPs
Adding countFP.R
Moving and refactoring the collection step so that it doesn't have timing issues with queue.