## Description
Wikifunctions analytics is currently unable to look inside of compositions, leaving gaps in what we can track. For example, we are unable to get a complete perspective on which functions are used the most. (We track top-level calls to functions from the UI and APIs, but are currently unable to track the the degree of usage of functions in compositions). Similarly, we are currently unable to get a complete picture of which types are used the most. We track the usage of type T by each function F that uses it for an input or output, but we are currently unable to know the frequency of use of T inside of compositions. Tracking uses of functions inside of compositions will allow us to know that.
**We should coordinate this new tracking with tracking currently being discussed for dependency analysis to support more efficient fetching of ZObjects from WikiLambda.**
One approach would be to use the `wikilambda_zobject_join` table to record relationships between a composition and each function that is called inside of it. (We already track relationships between functions and their implementations.) The new relationships would need to be updated whenever the composition is created or modified.
**Desired behavior/Acceptance criteria**
* [ ] ...
---
## Completion checklist
* [ ] Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist