[Improvement | API] Add a notes count attribute
Created by: valeriomazzeo
Especially when retrieving issues/issue it would be nice to have the current count of the notes for each of them without going to download the list of notes for every issue, that for a client is a very expensive operation.
This apply also to the snippets note.