1.Change the implementation of count method to use the SQLite count() function;