fix #2653 remove the last countAllRelationships method from persistence as it is not used and somehow against api conventions
fix #2653 remove the last countAllRelationships method from persistence as it is not used and somehow against api conventions