[add new count function][Q9.11]parenthesize boolean expression