added size method for recrod calss