title: Return number of Enum Values. ( Size of Enum typedef )
body: <p>Is there a built in function or a way to query the size of an emun typedef?</p>
  
  <pre><code>typedef enum difficultyTypes {
  kEasy,
  kMedium,
  kHard
  } difficultyType;
  </code></pre>
  
  <p>I would like a way to query and have it ( in this case ) return 3.
  I could even deal with it returning 2 as the highest value ( 0,1,2 ).</p>
  
  <p>Or am I forced to use another int variable that I statically set when I create the enum?</p>