How the inventory days are calculated