Remove debug statement, use count() method provided by mapper