#7 filtering out also by counting red/yellow/green jobs (not only for the total state)