Fixed issue: Added missed DB::expr('COUNT(*)'), remove duplicate of code
Merge pull request #386 from sergeyklay/master

Missed DB::expr fixes