How to solve community detection algorithm in below case

Hello i am running neo4j 5.3.0 and gds 2.4

my graph structure is like this

song -- listened_by--> user
my object to make song based community detection

Hence i have gone through gds library documentation and initial graph projection is like this way

Call gds.graph.project

('songGraph',

'Song',

'listened_by',

{relationshipProperties:'listen_count'

});

this gave me the nodecount 94 but no relationship count . so if there is no relationship count of projection i am a bit confused how a community will be detect. i am a novice and any suggestion will be help. is it for different nodes and i have on labeled one nodes here. if so how could i incoroporate user node here . thanks

Hello again @kalyan_b_aninda ,
reading your questions backwards, but assuming this one is still valid.

Your problem is that you only load the Song nodes but not the User nodes. So you end up with 0 relationships as there is no relationships Song-[:listened_by]->Song.

The below should help you further

Call gds.graph.project
('songGraph',
['User','Song'],
'listened_by',
{relationshipProperties:'listen_count'}
);

Now I wonder, do you want to find communities for the users or for the songs?