search: Fix type:path match counting
Created by: tsenart
This commit fixes type:path match counting by ensuring they are separate from type:file results, and hence, don't get merged into a single match, where the count of the type:path results gets lost.
Thanks @keegancsmith for point out the problem here: https://github.com/sourcegraph/sourcegraph/pull/29540/files#r786672991