Counting Blocks inside of a group and returning result

I am a landscape designer and I am wondering if there is a way to automate my process? I am wondering if there was a way to have a block's attribute tag count the block inside of a grouping?

Currently, I have a "plant tag" block with two attributes (red arrow) which I use the ATTEXT (Attribute Extract) command to count and add them up (excel) for me. I would love to simply be able to group the blocks together (pink) and have the "number" auto-populate.