Bug fix:
- moved method getRowCount() to MysqlCommon because Adapter Mysql.php also needs it.