Copying number of selected files in a lister to clipboard

DOpus.SetClip lets you set the clipboard from a script. (There's also Clipboard SET which can be used outside of scripts.)

The bottom of Commands to copy selected filenames to the clipboard has an example of how to set the clipboard in a script.