added counter for notes