The sperm count test is performed if a man's fertility is in question. It is helpful in determining if there is a problem in sperm production or quality of the sperm as a cause of infertility. The test may also be used after a vasectomy to make sure there are no sperm in the semen.