Android sqlite obtient des lignes comptes

SQLiteDatabase db = this.getReadableDatabase();
long count = DatabaseUtils.queryNumEntries(db, TABLE_NAME);
db.close();
Outrageous Okapi