Python, score 49
lambda S:sum(1+S.count(C)for[C]in S)/2
There's a tab after in.
Score breakdown:
- 38 total+27 for 27 unique chars
- +8 extra points+16 for 8 double chars:
()Camnouappearing twice - +3 extra points+6 for 1 tripled char:
Sappearing 3 times.