Fix "No results" banner showing up on every search
Created by: attfarhan
Fixes https://github.com/sourcegraph/sourcegraph/issues/7060
Also updates all callsites of the resultCount
field on search to use matchCount
as resultCount
is apparently deprecated: https://sourcegraph.com/github.com/sourcegraph/sourcegraph@531933ca9008089f37bc0af504672718998c3288/-/blob/cmd/frontend/graphqlbackend/schema.graphql#L1378-1379