This cannot be done using the Open XML SDK. The line count is a dynamic value that depends on how Word lays out the document at any particular moment. Where lines break (and thus the count) can vary according to printer driver and other factors. There is
no "real", guaranteed line-count that can be calculated when the document has not been opened in Word.
Cindy Meister, VSTO/Word MVP,
my blog