Add count methods for BlockAttachmentListView and TiledAttachmentListView