I would like to count how many rows there are per type
if they meet the condition x == 0
. Sort of like a group by in SQL
Here is an example of the data
type x
search 0
NULL 0
public 0
search 1
home 0
home 1
search 0