How to count number of lines and words in a SharePoint online Page

%3CLINGO-SUB%20id%3D%22lingo-sub-1108009%22%20slang%3D%22en-US%22%3EHow%20to%20count%20number%20of%20lines%20and%20words%20in%20a%20SharePoint%20online%20Page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108009%22%20slang%3D%22en-US%22%3E%3CP%3E%3CBR%20%2F%3EI%20am%20requested%20to%20generate%20a%20report%20that%20illustrates%20the%20number%20of%20pages%20and%20plus%20the%20count%20of%20words%20on%20each%20page%2C%20and%20the%20number%20of%20files%20in%20that%20site%20(word%2C%20PDF%2C%20images..etc.).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIs%20there%20any%20custom%20tool%20that%20i%20can%20use%20to%20enter%20my%20SharePoint%20site%20URL%20and%20then%20it%20will%20generate%20me%20the%20report%20i'm%20looking%20for%20Or%20if%20you%20think%20SharePoint%20Powershell%20can%20help%20with%20this%2C%20please%20share%20your%20ideas%20with%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20You%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1108009%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharepointOnline%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108354%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20count%20number%20of%20lines%20and%20words%20in%20a%20SharePoint%20online%20Page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108354%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F370801%22%20target%3D%22_blank%22%3E%40jean090681%3C%2FA%3E%26nbsp%3BFor%20identifying%20number%20of%20pages%20and%20files%2C%20i%20would%20suggest%20to%20use%20%3CSTRONG%3EContent%20Search%20web%20part%3C%2FSTRONG%3E.%20Configure%20the%20query%20in%20Advanced%20mode%20and%20get%20the%20count.%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20how%20I%20am%20doing%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20about%20number%20of%20words%20in%20a%20page.%20Is%20that%20a%20publishing%20page%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor


I am requested to generate a report that illustrates the number of pages and plus the count of words on each page, and the number of files in that site (word, PDF, images..etc.).


Is there any custom tool that i can use to enter my SharePoint site URL and then it will generate me the report i'm looking for Or if you think SharePoint Powershell can help with this, please share your ideas with me.

 

Thanks You

1 Reply

@jean090681 For identifying number of pages and files, i would suggest to use Content Search web part. Configure the query in Advanced mode and get the count. 

That's how I am doing it. 

 

Not sure about number of words in a page. Is that a publishing page?