added rel count method
Merge pull request #28 from kmussel/master

added rel count method