Need help preventing a huge Boolean mess

4 Boolean inputs. I need some logic to tell me if none are true, 1 is true, 2 is true, 3 is true or 4 of them are true. I’ve got all are true and 1 or 0 true, but I’m curious if there is a better/more efficient way to do this?

Could try making an array of Bools, and run a check to see how many are true, and increase an int variable for each true bool in the array.

I would create a new integer variable and increase / decrease that variable after you set your boolean values.
You can then run a check on the int to find out how many of the booleans are true.