Document count indicator in custom module

We have develop a custom module in frappe framework.We want some indicator (Counter) like sales order (7) and customer (11) showing the below image.

Kindly suggest how can we implement this feature.

2 Likes