Incorporated ideas for learning num of topics