Degrees of freedom in massive gravity