Add note counting.