DocumentClass: tackle DisambiguationError; query_parse pdf count