select distinct STATUS, count(1) from SAPSR3DB.XI_AF_MSG GROUP BY STATUS;
Please refer to below wiki.
PI Adapter Engine Troubleshooting SQL Statements - Process Integration - SCN Wiki
If you can get a user with read-only(display) access, you can write simple java program and execute these queries.