Issue #78: implement method countOpenedForTableId

Issue #78: implement method countOpenedForTableId
method implemented and tested
http://github.com/crc83/WebCash/issues/issue/78