Homepage with dynamic data

System Information
  • Strapi Version: 4.5.4
  • Operating System: Linux
  • Database: Sqlite
  • Node Version: 18.12.1
  • NPM Version: 8.19.2
  • Yarn Version: 1.22.19

I want to create a homepage as a single type. Amongst with some static information what I can add as different components, and collections, I want to display some dynamic data, like the last 5 comments.

How do I achieve this?

I want to let the admin user to set up the number of displayed comments, without touching any frontend code.