Badges are used to represent how many items are associated to that link.Here .badge class is used to add Badges in button and anchor tag.
.badge