https://abundantcode.com/how-to-get-the-total-number-of-items-in-a-enum-in-c/
How to get the total number of items in a Enum in C# ?