Refactor metadata coverage code.

Support coverage metrics for members and journals.