fn convert_lists_counts( lists_counts: HashMap<String, usize>, ) -> Result<BTreeMap<String, List>, InternalServerError>
Converts the given lists counts to the format of the response.