It's not actually a new law, it's a clarification of a law that already exists. The supreme court ruled in 2020 that it's illegal to harass employees on the basis of sexuality or gender identity. The EEOC just issued a clarification that misgendering and bathroom bans count as harassment.
Why would you need to count them? It's not like the number is any reason not to make more. How stupid would that be? Let's say we didn't have a law against murder. I guess we've got too many, right? It's too late now. I guess it stays legal.