Fixed problem counting operators as variables