def METHOD_NAME(self) -> int:
    ''' Function to return number of cpus. If error return 1'''
    cpus = 1
    try:
        cpus = multiprocessing.cpu_count()
    except:
        # from the internet there are cases where cpu_count is not implemented.
        # will handle error by just doing single proc build
        pass
    return cpus