Moved count() aggregate implementation to Aggregate class.
Fixed docs for QuerySet::count()
Fixed minor bug in Parser
Reorganized and improved tests
Replaced static phpunit method calls with dynamic.
Minor cosmetic changes in tests