count of relationships in linkage tabs