This function has one signature:
Evaluates the given XPath expression and returns the result.
The following example counts the number of words from a paragraph and displays the result in front of it:
para:before{ content: concat("|Number of words:", xpath("count(tokenize(normalize-space(string-join(text(), '')), ' '))"), "| "); }