set initial count to 1