Fix docs for COUNT and PROPORTION aggregators.
Merge pull request #867 from rhattersley/fix-count-docs

Fix docs for COUNT and PROPORTION aggregators.