Hi Chethan,
In your multiselect widget, call the microflow as a on change event. You might have selected one entity from one of the association as multi select source in your widget.
This microflow should retrieve the list of selected values from the same association. After retrieving list, perform aggregrate list for the list using count function.
Like this