I have the following code working for page number
\documentclass[18pt,letterpaper]{letter}
\usepackage{multido}
\begin{document}
\multido{}{ 2 }{\vphantom{x}\newpage}
\end{document}
This provides my the page numbers at the bottom of page. I would to just have page x of y at the bottom of the pages. I am working with existing pdf files with no page numbers. I merge this file with pdftk and its multistamp feature to the existing pdf file with the created pdf file.
lastpageandfancyhdr, see for example here: https://tex.stackexchange.com/a/265861/110842 – Mike May 15 '18 at 22:01