Search for google docs and pdfs of a certain length

I’m aware you can use the formats below to search for public google docs and pdfs respectively.

site:docs.google.com/document/d

filetype:pdf

Is there a way to filter by the google docs and pdf length? I’m seeing a lot of spammy one-page docs and pdfs I’d like to filter out.