Number of Critical Items at a Glance

There is this script, which shows you the number (the one to the right) of leeches you have in each category. I don’t know if the definition of critical items is the same, but it’s something.
image