<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def determine_pool_size(job_vector):
 """This function determines how large of a pool to make based on the system resources currently available and how many jobs there are to complete. """


    available_threads = cpu_count()
    total_jobs = len(job_vector)
    threads_to_pass = total_jobs
    if total_jobs >= available_threads:
        threads_to_pass = available_threads
    if threads_to_pass > 90:
        threads_to_pass = 90
    print("There are {} threads available.\nThere are {} jobs:\nMaking a pool with {} threads".format(
        available_threads, total_jobs, threads_to_pass), file = sys.stderr)
    return threads_to_pass