📓
Protocols
counts ONLY files in a directory that are of a certain type (in this example, .sam files)