How to make a dot bar?

I’m making a platform game where when the character passes through a platform a point is added to the bar . My problem is that many points are added for a single platform instead of a single point. Any help would be very helpful, thank you.