Compare boolean to number

Hello, how can I check if my object contains instances of a boolean ‘true’ more than once? The below code throws a Flow error: Cannot compare boolean to number. :thinking: :thinking:

const listOfNewsletters = Object.values(values.newsletters).includes(true) >= 1;

includes return a boolean, so you can’t make true >= 1 or false >= 1, if you want to count them you need to change method