adding an operation for counting total notifications