={QUERY(B2:B165,
"select B, count(B)
where B is not null
group by B
order by count(B) desc
limit 20
label B 'Pubblication venue'", 0);
{"Other", COUNTA(IFERROR(QUERY(QUERY(B2:B165,
"select B, count(B)
where B is not null
group by B
order by count(B) desc
offset 20
label count(B)''", 0),
"select Col1", 0)))}}
_____________________________________________________________
={QUERY(B2:B165,
"select B, count(B)
where B is not null
group by B
order by count(B) desc
limit 20
label B 'Pubblication venue'", 0);
{"Other", SUM(IFERROR(QUERY(QUERY(B2:B165,
"select B, count(B)
where B is not null
group by B
order by count(B) desc
offset 20
label count(B)''", 0),
"select Col2", 0)))}}