RJS page.delay timing issues

You can’t rely on browser to launch timers in proper order.
I would schedule next event only after previous event executed:

page.delay 1

count 1

page.delay 1
# count 2
page.delay 1
# count 3
end

end
end

That is basics. For more advanced stuff you should get more familiar with Javascript and Prototype and write some component (
e.g. CountdownTimer).