adding note count and length