A dataview always requires an object to be returned by the microflow. You cannot return a variable on a page. What you could do is to store the integer in an object to show on the page. Then you will able to display it on the page as you requested.
Hi Dale, dataview speaks to object only.
Please return an object instead of a variable.
You set the value to the object’s variable and pass to the interface.