Meta's integrity team wants to measure the accuracy of spam reports. You need to find the total number of unique posts that were reported for the reason spam and were later deleted (present in the removals table).
extra is 'spam'.post_id exists in the removals table.spam_delete_count.| user_id(INTEGER) | post_id(INTEGER) | action_date(DATE) | action(VARCHAR) | extra(VARCHAR) |
|---|---|---|---|---|
| 1 | 101 | 2026-02-01 | report | spam |
| 2 | 101 | 2026-02-01 | report | spam |
| 3 | 102 | 2026-02-02 | report | racism |
| 4 | 103 | 2026-02-02 | report | spam |
| post_id(INTEGER) | remove_date(DATE) |
|---|---|
| 101 | 2026-02-03 |
| 102 | 2026-02-03 |
| post_id(INTEGER) | author_id(INTEGER) | post_type(VARCHAR) |
|---|---|---|
| 101 | 99 | ad |
| 103 | 88 | status |
| spam_delete_count(INTEGER) |
|---|
| 1 |