How do you keep track of attendance if you homeschool?

And what else should you keep record of if you plan to homeschool?