I needed to get all the list items present in a list view. I tried to get the count using SPList.GetItems(SPView).Count. However, the maximum count it could return was whatever was saved in View Properties of Item Limit.
I had to modify the above code to use SPQuery and pass the SPView as parameter to it. The SPQuery.RowLimit needs to be set to zero to get all items. Following is the modified code: