You could assign the Output the following, which counts the number of files in the directory:
directory.GetFiles(in_StrFileDirectory).count
This could require you to put in your directory to which they’re being saved. If there are already other files in there you could differentiate by adding a specifier after in_StrFileDirectory, such as:
(in_StrFileDirectory, “*.pdf”) for example
Hope this helps, although I appreciate it’s not the direct way of achieving what you’re after.