If statement not working properly

The number of items in list that feeds true condition (6) is not equal to that one feeds false condition (5) …. Recheck .