Get number of elements in an ENUM?

Yeah convert to array and then array -> length seems to be it.