def parse_first_team_all_pros(response):
    """Parse the number of first team all-pros that a player has from his
    profile page."""

    first_team_all_pros = response.css(
        '#leaderboard_all_pro button::text').get()

    if not first_team_all_pros:
        return 0

    return int(first_team_all_pros.split(' ')[0])