Example that counts to n