Text this: Counting degrees of freedom in quantum field theory using entanglement entropy