Implemented score counter.