readability  edits.  Eliminated name from @setting on get_next_counts and changed the function name so the API is unchanged.