linecount/other doc. variables don't calculate upon compile

Perhaps I am an easily flummoxed noob, but in fiddling with various of the formats, the fields/document variables (?) in the Page Header, like <$linecount>, are not, upon compiling, being calculated.

Halp?