How do I count months my son lived with me if he lived with both his parents for 5 months and then with me 70% of the time and 30% with his dad for the remaining 7 mo?

Separation and dependents