docs: public static Long executeManualCount(Executor executor, MappedStatement countMs,
                                            Object parameter, BoundSql boundSql,
                                            ResultHandler resultHandler) throws SQLException {
          CacheKey countKey = executor.createCacheKey(countMs, parameter, RowBounds.DEFAULT, boundSql);
          BoundSql countBoundSql = countMs.getBoundSql(parameter);
          Object countResultList = executor.query(countMs, parameter, RowBounds.DEFAULT, resultHandler, countKey, countBoundSql);
          Long count = ((Number) ((List) countResultList).get(0)).longValue();
          return count;
      }