I got this Mod to work in 4images 1.7.4
There are some changes in search_stats.php because the original dint use search_stats_sort_dropdown_form in 4images 1.7.4
search_stats_install.rtf is adapted for 4images 1.7.4
the original search_stats.php is still in the zip file remove the org_ from the file name before uploading to your site.
I hope this is of use to someone (it woks for me)
EDIT
--------------------------------------------------------------------------------------------
Copy and past is a nice thing
if you select everything that needs to be copied of course.
I updated the search_stats_install.rtf file
Thanks Cristina.