Hi.
You're likely going to have to query the database directly. In DB2 on AIX, you'd do this:
db2 connect to archive
db2 "select count(*) from <owner>.<table> where doc_name like '<objname>%'"
db2 terminate
You'll need to know the name of the instance owner, and the table(s) associated with the Application Group, and the object name (ie '123FAA') you're interested in.
To get the number of rows for ALL objects inside a specific table, try something like this.
db2 connect to archive
db2 "select doc_name,count(*) from <owner>.<table> group by doc_name"
db2 terminate
Hope this helps!
-JD.