Flow list page don't allow pagination & sort
On flow page (home) : 
* The pagination is not working  
* The sort is not working also 
core/src/main/java/org/kestra/core/services/FlowService.java
core/src/main/java/org/kestra/core/services/FlowService.java
diff --git a/core/src/main/java/org/kestra/core/services/FlowService.java b/core/src/main/java/org/kestra/core/services/FlowService.java
index d1ba9bb3d1..161818a89e 100644
--- a/core/src/main/java/org/kestra/core/services/FlowService.java
+++ b/core/src/main/java/org/kestra/core/services/FlowService.java
@@ -38,7 +38,7 @@ public ArrayListTotal<ExecutionMetricsAggregation> findAndAggregate(String query
         Map<String, Stats> last24hStatsMap =
             executionRepositoryInterface.findLast24hDurationStats(execQuery, pageable);
 
-        List<Flow> flows = flowRepositoryInterface.find(query, pageable);
+        ArrayListTotal<Flow> flows = flowRepositoryInterface.find(query, pageable);
 
         // We build a map of all the flows (since some flows do no have executions but we want them)
         Map<String, ExecutionMetricsAggregation> result = new HashMap<>();
@@ -62,7 +62,7 @@ public ArrayListTotal<ExecutionMetricsAggregation> findAndAggregate(String query
 
 
         return new ArrayListTotal<ExecutionMetricsAggregation>(new ArrayList(result.values()),
-            result.values().size());
+            flows.getTotal());
     }
 
     /**
