Earth rotates (spins) 365.25 times in a year. It rotates once every twenty four hours, while also orbiting the sun once every 365.25 days. These two motions are happening at the same time.