Count to ten thousand! (Part 1)

Continue discussion here: Count to ten thousand! (Part 2)