fixed counting with n + 1