[BE] Implement LOC breakdown for Language Analytics
This is iteration 1 of Language Analytics https://gitlab.com/gitlab-org/gitlab-ee/issues/12104 where the backend for LOC breakdown should be implemented.
See specifications in discovery issue. More implementation details coming in later.