getNotifications
Method to count the notifications of a specific target
Return
the count of the notifications for the specific target as int
Parameters
notifications
: the list of notifications to check
Method to count the notifications of a specific target
the count of the notifications for the specific target as int
: the list of notifications to check