I can think of essentially two routes to take. MC doesn't support a direct means to obtain cumulative numbers across tracks. Expressions have short term memory - they can ask about one track at a time, and then for the next track, they loss all knowledge of what just happened.
Two methods:
1) Mark your minor composers using a new field such as [Composer-minor]; it can be just a 0 or 1 value. Then build your expression panes, etc. to interrogate this value when presenting the data. Of course, this field has to be manually maintained. Your expression will ultimately look something like:
if(Compare([Composer-minor], =, 1), [Composer], Other\[Composer])&datatype=[list]
2) Create a playlist which includes all tracks from the minor composers. Build your pane to use a Search List, grouping minor composers into an Other grouping, or others in a Composers grouping. Still, marking tracks/composers is manual.