Gender at 9 weeks??

Brittany • Momma to a spunk 4yo boy (6/11/12) and a new little girl (5/25/16)
I was having blood drawn today and one of the nurses asked if I'm gonna find pit the gender at 9 weeks? I never knew they could do this through blood work. How does it work and any of you ladies heard of it?