Fixed  recursive bug with getRelatedCount()
Merge pull request #1 from Oylex/master

Bugfix with Part->getRelatedCount()