CD4 TEST A CD4 count is used to check the health of the immune system in people infected with HIV. HIV attacks and destroys CD4 cells.