The number of twists with large torsion of an elliptic curve