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
commit 468b28bbb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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