support fast table log count (added logdb count command)