Find last row and coloumn in excel sheet

Did you put the "DatatableVariable.Rows.COUNT.TOSTRING " into the output of Read Range? When I do I get an error: Value Type ‘String’ can not be converted to “System.data.datatable”. my variable rowsCount is set as a variable type of datatable as well. Any thoughts?