appData functions for both counting and listing on the screenshots page, ensuring consistent results.