Filter the number of notes (only manually)

Hello, we want to filter the number of notes. We want to filter only those that are entered manually. So as opposed to those that have been created by an API.

and also add the number of notes of the transaction and not related to the contact