from bs4 import BeautifulSoup
import requests


def get_total_game_count(url: str) -> int:
    """
    Supply url to scrape, returns number of games with achievements.
    :param url: - The url to scape from.
    :return: - Total number of games with achievements.
    """
    soup = BeautifulSoup(requests.get(url).text, 'html.parser')
    tbody = soup.findAll('tbody')[1]
    total_games = len(tbody.find_all('tr')[1:]) - 1
    return total_games