In computing the time during which the child has resided in a county, the court may not require that the period of residence be continuous and uninterrupted but shall look to the child’s principal residence during the six-month period preceding the commencement of the suit.