I need to find the number of groups in a larger group: the number of *sections 
in a *course.  Of course, I can do this:
sort course
by course: tabulate sections
   One would then count the sections by eyeballing them in the tabulation, but 
in my data, a course can have many many sections.
   The conceptual idea would be analgous to this fantasy coding:
by course: codebook section 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/