You can apply a filter to a series or category field to show the top or bottom n items based on a total.
1	You	you	PRON	PERS-P2	_	3	nsubj	_	_
2	can	can	AUX	PRES-AUX	VerbForm=Fin	3	aux	_	_
3	apply	apply	VERB	INF	VerbForm=Inf	0	root	_	_
4	a	a	DET	IND-SG	Definite=Ind|PronType=Art	5	det	_	_
5	filter	filter	NOUN	SG-NOM	Number=Sing	3	obj	_	_
6	to	to	ADP	_	_	11	case	_	_
7	a	a	DET	IND-SG	Definite=Ind|PronType=Art	11	det	_	_
8	series	series	NOUN	SG-NOM	Number=Sing	11	compound	_	_
9	or	or	CCONJ	_	_	10	cc	_	_
10	category	category	NOUN	SG-NOM	Number=Sing	8	conj	_	_
11	field	field	NOUN	SG-NOM	Number=Sing	3	obl	_	_
12	to	to	PART	_	_	13	mark	_	_
13	show	show	VERB	INF	VerbForm=Inf	3	advcl	_	_
14	the	the	DET	DEF	Definite=Def|PronType=Art	19	det	_	_
15	top	top	NOUN	SG-NOM	Number=Sing	18	compound	_	_
16	or	or	CCONJ	_	_	17	cc	_	_
17	bottom	bottom	NOUN	SG-NOM	Number=Sing	15	conj	_	_
18	n	n	NUM	CARD-PL	Case=Nom	19	nummod	_	_
19	items	item	NOUN	PL-NOM	Number=Plur	13	obj	_	_
20	based	base	VERB	PASS	Tense=Past|VerbForm=Part|Voice=Pass	13	advcl	_	_
21	on	on	ADP	_	_	23	case	_	_
22	a	a	DET	IND-SG	Definite=Ind|PronType=Art	23	det	_	_
23	total	total	ADJ	POS	Degree=Pos	20	obl	_	SpaceAfter=No
24	.	.	PUNCT	Period	_	3	punct	_	_
