Sounds like the Ball count unit , needs servicing and is not moving onto the Ball 5.or resetting properly
What ball is showing on the backglass when it starts doing this?
Also can you see it counting up as you play the game ? If not the unit needs servicing.
Good luck