First of all your taking this way to far. She's 9?
All children, and she's a child, are curious and experiment, that does not mean you don''t watch them and counsel them when it happens though. It sounds like your treating her like a monster or something, Love, attention and praise works, sending her to a doctor because you thinks she has committed a sin is what is wrong here. You may need the help, not her.
Has she said if she knows why she does this if she knows it is wrong? if she has had counseling did they help at all ?