count() and serialize() should be uniform.
Merge pull request #2960 from bar/patch-2

count() and serialize() should be uniform.
Missing dots.
Query::applyOptions() is a function not a property.
More dots added, some removed. Also a typo was removed.