fix count aggregate with multiple match against. refs #1702