Found tiny white worms sticking to the glass of aquarium.?

I have an aquarium with baby mollies, guppies and mickey mouse fish. today suddenly i noticed that there are millions of white small worms sticking to the glass. I figured that i must have been overfeeding in my enthusiasm of feeding them several times a day. I have 2 questions

1. how much is enough for a month old babies – about 50 of them

2. how do i get rid of the worms? one suggestion i read was to stop feeding altogether for about 4-5 days but is that a good idea with babies?