Parsing support for :nth-of-type()