What number should you put instead of the question mark?

Question: #508
1
2
3
4
Do you like Quest&Rest game? Recommend it to your inquisitive friends and compete with them every day!