Added more flexible approach for top tags. Made fixed number of 10 top tags configurable.