The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1?
\setupfootertexts
[title]
[\pagenumber{} of \totalnumberofpages]
\setcounter
[userpage]
[0]
\setuppagenumbering
[location=]
\startdocument
\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stopdocument