Listing the number of components for a particular metric can be helpful in determining cause of hprofs or service restarts.
Here's how its done.
bash
cd common
docker ps -q -f 'name=default_rdbms.1.*' | xargs -I{} docker exec {} psql postgres postgres -c "select mc.mc_type_id, mct.name,count(*) from model_component mc, mc_type mct where mc.mc_type_id=mct.id group by mc.mc_type_id, mct.name order by count"