Adding DISTINCT keyword to get_record_list and get_record_count record methods

This commit will also fix the progress report which was broken in this version