How to Make Score Counter

how can i make a score counter that counts time, in seconds, and calculates that as the score, and displays it at the top center of the screen as a string? alternatively, can i make one that counts how many coins have been collected?

You can refer to this: A Beginner's Tutorial to an Endless Runner Game [GDevelop wiki]

It shows the score (counted as seconds)