Add counter filter (#3921) (#3945)

* Add counter filter

* move counter filter doc to existing chapter

* Use existing typerror exception from Counter

* Match counter filter example task name and output

(cherry picked from commit 9642a15d34)

Co-authored-by: Rémy Keil <remy.keil@gmail.com>
This commit is contained in:
patchback[bot]
2021-12-26 15:25:18 +01:00
committed by GitHub
parent 9b57221d9a
commit 468b28bbb8
6 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
add plugin.filter:
- name: counter
description: Counts hashable elements in a sequence