bug fix .table(): length of (index) correctly measured