(self)
return 0
Is `0` in case of `foo`, `1` in case of `*foo` or `2` in case of
        `**foo`.
Is `0` in case of `foo`, `1` in case of `*foo` or `2` in case of
        `**foo`.
Is 0 in case of foo 1 in case of * foo or 2 in case of ** foo .
def star_count(self):
        """
        Is `0` in case of `foo`, `1` in case of `*foo` or `2` in case of
        `**foo`.
        """
        first = self.children[0]
        if first in ('*', '**'):
            return len(first.value)
        return 0
def star_count ( self ) : first = self . children [ 0 ] if first in ( '*' , '**' ) : return len ( first . value ) return 0