Issue #78: implement method countOpenedForTableId 
Fixed intedreation tests
http://github.com/crc83/WebCash/issues/issue/78