title: Number of elements in an enum
body: <p>In C, is there a nice way to track the number of elements in an enum? I've seen</p>
  
  <pre><code>enum blah {
      FIRST,
      SECOND,
      THIRD,
      LAST
  };
  </code></pre>
  
  <p>But this only works if the items are sequential and start at zero.</p>