Counting rows where condition is met in at least one column

How can I write a formula that will count the number rows that meet a condition in one of the columns?

I found this to work in Excel:


But how can I get something like this to work in Google Sheets?