Is there an elegant way to count tag elements in a xml file using lxml in python? Is there an elegant way to count tag elements in a xml file using lxml in python? xml xml