It's not possible to import a full pdf without specifying the number of pages. This limitation is due to how the function that imports the PDF pages works. However, what I have proposed is to ignore any page numbers the PDF doesn't have, so you can simply use a large range like 1..100.