'Return the specificity_ of this selector as a tuple of 3 integers.
.. _specificity: http://www.w3.org/TR/selectors/#specificity'

def specificity(self):

    (a, b, c) = self.parsed_tree.specificity()
    if self.pseudo_element:
        c += 1
    return (a, b, c)
