Hey, I am having this same problem.
I can count repeater rows normally. But if there is a repeater field inside the Flexible Content it won’t count.
I have tired “get_field” and “get_sub_field” using the code by @jonathan but doesn’t count.
Any luck @mantismamita ?