State tax filing

I live in NH and work in MA and I need to apportion my wages. I only worked in MA 61 days. To get the correct percentage I need to figure out the # of working days.
Thanks.