Try using the below command
Have a condition before you group
even-skip-page-count ---> contains <?section:force-page-count;'end-on-even-layout'?>
When you want to handle the suppression of the even pages from the total number of pages
you can use the following command within the even-skip-page-count form field --> <?section:xdofo:blank-on;'even-skip-page-count'?>
If this helps you then please mark the answer as "correct" or else "helpful"