(self)
| 229 | ) |
| 230 | |
| 231 | def statistics(self) -> dict[str, int]: |
| 232 | all_nodes = [node for scope in self.scopes for node in scope.nodes] |
| 233 | counter = Counter(node.operator_type() for node in all_nodes) |
| 234 | return dict(counter) |
| 235 | |
| 236 | |
| 237 | class ErrorLogSchema(Schema): |