docs: protected long getRowCount(final String pWhereClause, final String[] pWhereClauseArgs) {
          Cursor cursor = null;
          try {
              final SQLiteDatabase db = getDb();
              if (db == null || !db.isOpen()) {
                  return -1;
              }
              cursor = db.rawQuery(
                      "select count(*) from " + TABLE
                              + (pWhereClause == null ? "" : " where " + pWhereClause), pWhereClauseArgs);
              if (cursor.moveToFirst()) {
                  return cursor.getLong(0);
              }
          } catch (Exception ex) {
              catchException(ex);
          } finally {
              if (cursor != null) {
                  cursor.close();
              }
          }
          return -1;
      }