getVisibleMainContentItemCount

Returns number of visible main items in the menu, which correspond to any content items that are not under a subheader.