'Find the depth of a tag in the genres tree.'

def _get_depth(self, tag):

    depth = None
    for (key, value) in enumerate(self.c14n_branches):
        if (tag in value):
            depth = value.index(tag)
            break
    return depth
