TableInfo: Cache rows count in metadata