Moves and renames former image_album_statistics function to template-functions.php to also to fix #503
Revert "Moves and renames former image_album_statistics function to template-functions.php to also to fix #503"

This reverts commit 40611df97f3dbacfc4f4320b5700b612fc4d2f03.