Holiday notice: Cycling '74 will be closed on Dec 25th, 26th, and Jan 1st. Manual authorization, support cases, and manual order processing will be delayed.
Loading a bunch of files into polybuffer just to find out how many of them
are in a directory is not a good way, I mean in case You don't need to load them.
try umenu :
If You wan't to load files into polybuffer, than You don't need umenu at all.
Polybuffer can report file count.
Have a look at info section of help file.