WordPress : How to display only the most popular tags in a tag cloud

In my previous article about WordPress tag cloud widget, I showed you how you can display a count number for each tag. But what if you want to limit tags that are shown by displaying only the most popular tags and hide those with low count values. The tag cloud in WordPress doesn't have the parameter for that behavior, but by using another parameter, we can achieve the same result. In this article, we will add the code that will show only those tags in the tag cloud, that have count parameter value of 3 or more.