Even though nth-of-type is the most useful selector, nth-child should be supported too.
To limit scope, we should introduce support with the same simplified syntax as nth-of-type,
receiving just a single value that will be passed as-is to the XPath expression for counting the
preceding nodes only.