You can get the length of the priority queue by accessing the Count property. For example:

```
int length = queue.Count;
```

Where queue is an instance of the priority queue. This will return the number of items currently in the queue.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence