Retrieve the number of items of a given section
typedef SectionItemCount = int Function(int section);