Hi Haris,
I am writing same code
cq:PageContent] AS s where s.[cq:lastReplicated] IS NOT NULL AND ISDESCENDANTNODE(s,[/content])
But I can get all author page count but i did not count publish page and also when I was putting hole url in query got error message so how to connect url https and port...