Count the number of files

Is there a simple way to count the number of items which have files attached? I’m basically trying to count how many items have been digitized.

Seems like an easy thing to do, and maybe it is, but I’ve missed it.