Added count method to mysql-adapter to utilize the where clauses that this adapter provides