I finally solved it! (Actually in a very similar manner, not what I wanted exactly, but pretty close)
It is a good thing to leave everything for a while to clear your head and come back fresh.
So, after all, what I did was very simple.
I have a value "available jackets" in my coats table. It is...