There could be multiple reasons:
The search result count you see on LinkedIn includes profiles without names. In other words, the profiles without any names aka "LinkedIn members" are included in the count. Whereas Expandi only pulls profiles with real names and skips unnamed profiles.
If you are using Sales Navigator search, you may not have saved the search correctly.