NING-13305 - Introducing logic to retrieve top n distributions