update HalsteadVisitor with array to count operators