API: Add filtering by 'nr_votes' and 'nr_statements'