I am trying to find the number of immediate div tags present inside the main div tag
As shown in the attached screen shot, I am trying to find the total number immediate child div tags for the parent div "MacroTableBody"

I have tried the FindChild<T>() and FindDescedents<T>(), however I am not getting the total count of child div tags.
Please let me know how to find the immediate child elements count for a div tag.

Is this solution supposed to give the total ROWs or COLUMNs in the MacroTableBody example? I tried this and divList.Count = 3 instead of the expected 12 (there are 3 columns in this table and 12 rows).

In addition, I am going to have to count only the lines that are highlighted (zero) at this point. But, I was first interested in coming up with the correct total number of rows and then deal with figuring out how to tell if any are selected. **note - my exception message is obviously being used for debugging, not as an error**