Added group-by clause in ORMCountWalker to fix crash in Oracle. Also tested on MySQL.
Merge pull request #402 from whachoe/master

Fix for Oracle