Enumerating the operators of an effective field theory