I have a matrix block which has an asset field inside of it. I want to know how many assets are inside the block, is there a way to do so?
2 Answers
This is old but it looks like there was never an accepted answer. This seems to work for me.
{% set count = block.carouselImages.count() %}