In a microflow, you can retrieve all of the objects in User entity and count them using an Aggregate List action, example below:
Then you can store the count in another entity, return it at the end of your microflow or do other calculations in the microflow with it.
Hope that helps,
my Microflow looks like this. Is that right?
Also I'm having difficulties to store count in the Total User entity. The error says:
Microflow parameter 'User' should be of type MyFirstModule.TotalUser. Hope you can help me with this.
One last thing, I think I did it all how you described, but after creating the page(All_Users) and adding a menu item for that page the error below will appear. Do you know a solution for that?