Fixcount

Added new tests to test for bug when counting in parallel

Fixed counting in parallel
remove print