When is the microflow triggered? Is it set as the microflow for an calculated attribute?
If so, can you share the microflow?
Or is the microflow set a event handler?
In that case;
The domain model with the entitie person and inside the atribute notification number, that is calculated by the microflow below
and last, in a snipet (to use it in many pages) the notification number in a data view conected to a microflow that retrives the “person” entitie, with an xpath [System.owner='[%CurrentUser%]'], this could also be used from the database and put the xpath directly.