clean up style for paren counting, added a base case test for counting change