I have numpy array like below I want to count total times columnsa>1 and columnsb<1
array
[[1.2, 0.693],
[1.2, 0.724],
[0.976, 0.039],
[0.987, 0.725],
[0.979, 0.528],
[0.978, 0.600],
[0.983, 0.654],
[0.986, 0.059],
[0.979, 0.644],
[0.982, 0.468]])]
Answer should yield 2