I understand this is quite old thread - posting so that it may be relevant for others ..
While I was using about "Version 2.00.0 (2012-07-26 06:06:10) dev" from github, instead of grid[0][2] I had to use grid[0][1]
When I upgraded to "Version 2.0.2 (2012-08-30 04:08:18) stable" - The above code started given me an error "list index out of range"
Little debugging showed me that now the "records found" was at grid[0][0]
My code given below for reference. (Following code did not change between the two versions of web2py, except grid[0][]0] which was grid[0][1] earlier.)
grid = SQLFORM.grid(somequery, create=False, deletable=False,
searchable=False, csv=False, editable=False, details=False,
sortable=False, fields=[db.table.field1, db.table.field2])
if somequery.count() > 0:
del grid[0][0] # Delete "n records found" text
-Mandar
P.S : I understand that I'm using only the SQLFORM portion of SQLGRID (details, edit and delete all set to false), but that is a problem to be solved another day ...