adds view all loans link to loan search page result count