So i have a matrix. (n rows, m cols), and my program has to count the number of rows, where all the cols were >0. For eg. there are n cities, and m bird species. The program has to count the number of cities, where all the bird species (m) were found. (where every m is >0)

So far, i have this, but it's totally wrong:

```
int c=0;
for(int i=0; i<m; ++i)
{
for(int j=0; j<n; ++j)
if(bird[i][j]>0) c++;
}
cout<<c;
```

Could you please help me with this?