How can i validate parent and child validation in mobile test?

I have a parent element under that i have one child element i need to validate parent counts equals to child, i am new to testing dont know script side now how can i validate this case?

Hi,

Was any update on this?

Hi,

Yes the question yours is correct,I need to compare child elements count with the parent.How can i do that?

Hi,

Was any update there?

Sorry but I think you need to compare child elements count with the parent, right? Is there any mistake here?