Find the total access count of all documents in the most popular document type.
select sum ( access_count ) from documents group by document_type_code order by count ( * ) desc limit 1
Show me the access count for books?
select access_count from documents where document_type_code = 'Book'
How about in paper?
select access_count from documents where document_type_code = 'Paper'