Integrality of the Winding Number