Power App Portals Custom Entity list: improved View selector with liquid code

With a few simple alterations to the code snippet provided by Microsoft docs, you can have a custom entity list with a view selector that display both the name of the current view and the number of records it contain.