get_index refactor.  get_count refactor.
Skeleton for TOC test