It counted. It was 24-21 UConn before the shot.So, I don't think they counted that half court shot by SC to end the half. The second half started tied, 24-24.
I uploaded the UConn vs South Carolina replay:
It could have been on Boston but the refs made the right call giving the foul to Littleton.The foul they took away from Boston, was on Boston. I just watched the game again.