corrected regression in getting initial count