delegate to_h, count to table