Leukemia is associated with an elevated white blood cell count

If leukemia is associated with an elevated white blood cell count, why is it also associated with an increased risk of infection?