Bases: showing the count of files in a note's folder

What I’m trying to do

Using bases I’d like to get the count of files in a file’s containing folder into a table column or card. I say file, I’m making lists of image files in asset folders

Things I have tried

Documentation