count the number of occurrences of "(" in a string count the number of occurrences of "(" in a string r r