I'm trying to count how many created vs published posts there are per user in my database.
POST ID | USER ID | STATUS
...and an example would be
User ID 1 has 5 posts (5 distinct post IDs) with 3 STATUS = CREATED and 2 STATUS = PUBLISHED. I want the output to show the following columns
USER CREATED PUBLISHED
----------------------------
1 3 2