xml_utils: added a new function: count_elements(obj, xpath=None).
xml_utils: added a new function: count_elements(obj, xpath=None).

It encapsulates API differences between the lxml and ElementTree packages.

Justin-W/clifunland,Justin-W/clifunland