I was in and out of therapy as a kid. Not all of them were quacks. There were some perceptive, sensitive therapists who helped me a lot with social and adjustment issue.
No one, not them, not me, even once considered that I might be Trans.
In my late 20s, I went to a therapist specifically asking her to help me understand why I didn't make friends with men. We worked for a year before she gently let me know she had nothing more she could do. Again, not an inkling.
OTOH, I'm not your usual transwoman, in that I never really understood what my feelings meant.