as in twice a day, etc., is from O.E. an "on," in this case "on each." The sense was extended from time to measure, price, place, etc. The habit of tacking a onto a gerund (as in a-hunting we will go) died out 18c