Table quick filters

Looking for examples of buttons above a table that can show you the numbers of a specific type of item and when you click them filter the table.

Any link or example will help a lot.

I have looked for lots of examples. One example I found is here. Looking for similar examples, and too see if there are more complicated ones (filter based on more than one column).

enter image description here