add pathways count to the search info for compounds