Table prefix was missing in BelongsToMany@getRelationCountQueryForSelfJoin

Table prefix was missing in
BelongsToMany@getRelationCountQueryForSelfJoin
Merge pull request #3678 from monorigabor/4.1

Table prefix was missing in BelongsToMany@getRelationCountQueryForSelfJoin