Count number of months that inventory levels covers

hi @mehdi_zinbi ,
with a short python script I have already solved the problem, but you did not give me any feedback when I proposed one last time, so I guess you are only interested in answers based on Knime nodes