You are free to decide how many hours of work you want to do weekly as a freelance programmer. As much as possible, try to keep that number at about 40 hours of work each week so that you can maintain a healthy work-life balance.