Help with Library Node Editor

Hello,
I’m trying, under kodi 17 with Estuary skin, to make an icon in the categories widget for unwatched movies but there isn’t any unwatched movies video db, so I don’t now how to add this function.
Thanks in advance for any help.