Access Notifications Doctype name and their counts

Hi,
i am trying to access Notification Panel’s values like Doctype name & their counts,
how can i do that? i’ve already read the notification.py file but didn’t learn enough.
can anybody please help me?

notfication

All of these, no matter whatever the doctype name is…
Actually i want to build chart from these values…

Anybody??

Screenshot%20from%202019-01-21%2017-20-38

thanks @snv let me check.