implmented new method zCount and tests
new functions. zInter interacts a little bit spooky