Search inputs that fire a request on every single keypress can overwhelm your server and make the UI feel laggy. Debouncing solves this by waiting until the user stops typing before making the request.
In this challenge, you will build a Debounced Search Input that delays its search callback until the user has stopped typing for 500ms. If the user keeps typing, the previous timer resets and only one request fires after they pause.
Create a search input field and a results counter label. As the user types, the counter should show real-time feedback but only update the final results after the debounce delay.