Counting number of sensors below a certain number

You’re welcome!

Please consider marking my post above with the Solution tag. It helps others who may have similar questions to find answers.

For more information about the Solution tag, refer to guideline 21 in the forum’s FAQ.