import multiprocessing


def cpu_count(multiplier: int = 0):
    """Get server's CPU core count.

    Used for number of web server workers.

    Returns:
        {int} -- CPU Cores
    """
    # Standard Library

    return multiprocessing.cpu_count() * multiplier