Issue:
feat(payout_link): return total_count in filtered payouts list API response

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
This PR refactors the payouts filtered list's API response to include `total_count` which specifies the total number of payout entries available for the given constraints.

### Additional Changes

- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->

## How did you test it?
1. Create payouts (create multiple for listing based on different constraints)
<details>
  <summary>2. Filter payouts</summary>
    curl --location 'http://localhost:8080/payouts/list' \
        --header 'Content-Type: application/json' \
        --header 'api-key: dev_cp78v8fT2C03KkEClI9aBMrqKF6N0SBLyUjasXtUQMbLTasfR2LJwjg0LlNHY060' \
        --data '{}'

![image](https://github.com/user-attachments/assets/2978abe5-9ad2-4c14-9cd9-6991f2c996f9)
</details>




## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible


Resolution:
<think>
PR Context:
- Title: fix(payout): query for getting a list of active payout IDs
- Merged: 2024-09-04T09:49:50Z
- Files changed: 1 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
This PR fixes the DB query for fetching a list of active payout IDs, which is later used for getting a total count of available payout objects.

Fixes the payout list API response in #5538  

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(payout): query for getting a list of active payout IDs (#5771)
Files to modify:


**crates/storage_impl/src/payouts/payouts.rs**
  Modify existing code