Is it possible to count time in Arduino?

There is a Date and Time library in the playgound that makes it easy to keep time using no extra hardware and is accurate to a few seconds per day.

see: Arduino Playground - DateTime