change validation logic to count the expected 'true' values