Counts how many visible (not deleted and not junk) and unread messages is stored in the given table.
this |
a DB |
table_name |
name of the table |
count |
where to store the resulting count |
0 on success, -1 on error |