Add modified DataLoading example with Linear Regression

LineCountingTask has relevant methods for linear regression