To check you can create another variable say Heart collection check
So on first 5 collection set check=1
if check = 0 and heart =5 then health +1 and +1 to check
if check = 1 and heart = 10 then health +1 and +1 to check
if check =2 and heart = 15 then health +1 and + to check
I hope this is what you are looking for!