Pergunta de entrevista da empresa KPMG

How to find count of child elements in webpage?