How to calculate step count for last hour


My name is Patrick and I am just about to design my first watch face. So far, I like the designer a lot! Before, I played around a bit with Wear OS development, but that seems far too complicated to me…

Anyway, I’d like to make a watch face that reminds users of walking a certain number of steps each hour. Is there a way to find out how many steps the user has walked within the last 60 minutes? I could easily program this if I could save an array of 60 variables for the step count for each minute during the last hour. Is something like this possible? So far I haven’t seen a possibility to save data in a variable.

Thanks in advance for your help!