Remove "menu_get_num_sections_callback"

Removed the superfluous "menu_get_num_sections_callback" function.