Does weed affect sperm count

My husband has been smoking weed for years . Could that affect his sperm count?

Has anyone’s man smoked weed and still gotten pregnant?