If my sons spring tuition came in december and I paid it on January 4th, can I stilll use it as total school costs for 2017?

if my sons spring tuition came in December and I paid it on January 4th, can I still use it as total school costs for 2017?  Otherwise my 529 and annuity for school far out weigh what I paid unless I can count fall and spring tuition paid.