docs: public int countBySQL(String sql, List<?> params) {
          Object[] args = null;
          if (params == null) {
              args = new Object[0];
          } else {
              args = params.toArray(new Object[params.size()]);
          }
          return jdbcTemplate.queryForObject(sql, Integer.class, args);
      }