added default value for table implicit indexing. added counts