Hello, masaki - and welcome to English Forums. Both are correct and natural; the choice, as you observe, is a result of how the speaker envisions it - as one period or as ten units.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.