How do I count multifield for body of block? So I have a custom template for the custom block and I can print each one using the following code.

Body 1: {{content.body.0}}
Body 2: {{content.body.1}}


I need to know how many there are. I tried a whole bunch of variations of {{ content.body | length }} or {{ content.body.getvalue | length }} but nothing is working. 

My goal is to add responsive grid support depending on how many bodies there are. How can I achieve this?
Use this in your block.html.twig template:

 {{ content.body['#items'].getvalue|length }}


Although to access the individual items, it may be better to create a field template such as 
field--node--body.html.twig

then you can do 

{{ items|length }}


in that template.