If you have a babysitter, when do you start counting their hours for pay and when do you stop?

When the sitter walks in the door or when you leave the house? Does it stop when you walk in the door or when they walk out the door?

I'm asking for those who may have super chatty sitters who like to hang back and chat about non-babysitting related stuff for a while