This should do the trick where “Main::pic+” is the names for your container fields. This could probably be done in a much more slicker way but for 5 containers it should be OK.
count ( pic1 ; pic2 ; pic3 ; pic4 ; pic5 )
if the fields are in 5 records of a related table:
count ( RelatedTable::pic )
Thank you both for your quick response. I knew this was either going to be simple or complicated. Very simple fix.