Add counter filter (#3921)

* Add counter filter

* move counter filter doc to existing chapter

* Use existing typerror exception from Counter

* Match counter filter example task name and output
This commit is contained in:
Rémy Keil 2021-12-26 14:56:21 +01:00 committed by GitHub
commit 9642a15d34
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