Add new "distribution" type metrics (other than function complexity distribution)

The “function_complexity_distribution” metric is great to follow the evolution of code complexity by function/class/file.
It would be awesome to have that same distribution type of metric for other metrics (number of statements, nesting depth, comment density, etc.)!