How can I get the number of items defined in an enum?

Edit
Report