Where to do a sperm check

To have my husbands sperm checked for county and mobility is this something his general dr can do or is this something a specific fertility dr would have to preform?