count for parentheses before completing
several basic commands