code: public static <T> int countObjectsFromClause(Class<T> clazz, String clause, Object... args)
      {
          return SqlClosure.sqlExecute(c -> OrmElf.countObjectsFromClause(c, clazz, clause, args));
      }
docs: Counts the number of rows for the given query.
  
  @param clazz the class of the object to query.
  @param clause The conditional part of a SQL where clause.
  @param args The query parameters used to find the list of objects.
  @param <T> the type of object to query.
  @return The result count.