Issue #78: implement method countOpenedForTableId 
Tests corrected
http://github.com/crc83/WebCash/issues/issue/78