More flexible handling of $doJoin parameter for getCount()
Merge pull request #1133 from rgasch/dbutil

More flexible handling of $doJoin parameter for getCount()