I have created a variant of the existing "Search by Artist + Album" WSS with a 3rd search field. The number of selected files will be provided (and can be overwritten manually).

The MusicBrainz search now looks for releases with the given ARTIST, ALBUM and number of tracks and only returns results that match this number.
This should also work for releases with more than 1 disc. For example, if you are looking for a release with 14 tracks on the first disc and 10 tracks on the second disc, this search should return matching releases with 24 tracks.

MusicBrainz expanded#Search by Artist + Album + Tracks.src (2,8 KB)
-> Hint: You also need at least the files MusicBrainz expanded.inc and MusicBrainz expanded#Settings.settings from my collection of "MusicBrainz expanded" Web Sources scripts.
Please test it and let me know if it works for you as expected.
I will add this variant later (after your feedback) to my collection.