Fix dog not counting bug.
Fix table timing.