Doctor to check sperm count!

For almost 2 years my husband and I have been battling infertility. I was wonder what type of doctor does he go to get his sperm checked and does my obgyn need to know?? I know so much about who I need to see and my body but I think it is time to get him checked out.

Thank you!