Can someone give an example countQuery to implement pagination while doing explicit query (@Query) using Micronaut data? There is no examples at https://micronaut-projects.github.io/micronaut-data/latest/guide/#explicitQueries
I have to make a query like the one below
@Query("From UserRelation where userId = :userId and itemId=:itemId", countQuery = <count query here>)