def get_num(card):
    """Returns the card's number

    Args:
        card (webelement): a visible card

    Returns:
        int: card's number
    """
    return len(card.find_elements_by_xpath(".//div//*")) // 3