Calculates a histogram of the distribution of attribute values for the academic entities returned by a query expression, such as the distribution of citations by year for a given author. Similarity Calculates the academic cosine similarity between two text inputs.