Counts Brackets in a String
More Practice from Euler