Yes it is possible. Use the Type menu > Insert Special Character > Markers > Current Page number to insert the code for the number. Type the "of". Then use the Type menu > Text Variables > Insert Variable > Last Page number to get the final number of pages.
Thank you. Worked perfectly.