Got the counting recursion working.