Set attribute for number of rows