Yeah, no need, rowCount can be used from c++.