Page number showing 'pagenumber' instead of 1..2

In header or footer section… whenever i use something like page number or page count or date(whatever are there) they are showing as it is, instead of page number like 1,2

Toggle View | Field names.

If this answer helped you, please accept it by clicking the check mark to the left and, karma permitting, upvote it. That will help other people with the same question.

In case you need clarification, edit your question (don’t use an answer) or comment the relevant answer.