polars.Series.list.count_matches# Series.list.count_matches( element: float | str | bool | int | date | datetime | time | Expr, ) → Expr[source]# Count how often the value produced by element occurs. Parameters: elementAn expression that produces a single value