Return the number of allowed choices for a choice-valued schema entry.
Non-choice entries, or out-of-range indices, report 0.
0