Count of "is blocked by" (only inward issues)

Hi guys,

I have imported links concerning my blocked issues on Jira, the config is shown in the image:

Using that data, I need a table that has Epics on the rows and, in the measures, a count of the issues that epic have a “is blocked by” relationship.

I tried

Count(
[Dependencies_blocks].[Dependencies_blocks].GetMembersByKeys(
[Measures].[Issue Dependencies_blocks]
)
)

But it counts both inward and outward links (it also counts items that the epic blocks, not only the ones that it is blocked by). I need it to count just the issues that the epic has a “is blocked by” relationship with.

Can you guys provide some guidance?