Aggregate multiple references from one note to another

Things I have tried

What I’m trying to do

Hello I’m new to Obsidian and I wanted to count in dataview number of references from other notes summarized by note

For example

Note A has 2 times inside link to note B
Note C has only on link inside
Note D has no links so it’s ommited

Notes A, C,D share the same frontmatter parameter. Let it be

category: test

Result I look for is

Table in Note B
Note A - 2
Note C - 1

This is a question to know if that is possible with dataview or how to do it with dataview?

I would like to know how to do it if it’s possible

All depends in the way you place the metadata.
If your links are normal backlinks in the content of the notes, then you can’t do it with dataview. As normal backlinks they’re file.inlinks or file.outlinks, implicit metadata. And in the case you can’t determine the number of times they’re mentioned in each note.

Other thing is if the links are values in a specific inline field…