Check those indexes. Each index has a row and column number in it. Besides, if you set your model (or view? I don't remember right now), it'll only allow selecting whole rows, so it should be easy to find row numbers (for example ignore every index with column number not equal to 0, this way you'll be processing only 0-th columns, and the number of such items will be the number of rows selected).