Don't understand your question. Bottom line, you're going to have to keep track and do the arithmetic yourself.
Keep in mind that any part-day you spend in Canada counts as a day in Canada, eg leave Monday morning, come back Tuesday evening, zero 'days outside Canada.'
Whether that works for...