[Snippet rust]
```rust
fn collect(self) -> Self::MetricOutput {
        self.count.and_then(|i| u64::try_from(i).ok())
    }
```
Path: hyperswitch/crates/analytics/src/active_payments/accumulator.rs :: collect (function, crate=analytics)

Negatives:
- hyperswitch/crates/router/src/db/api_keys.rs :: find_api_key_by_hash_optional
- hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs :: try_from
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: get_order_details
- hyperswitch/crates/router/src/core/payment_methods/cards.rs :: authenticate_pm_client_secret_and_check_expiry
- hyperswitch/crates/router/tests/connectors/novalnet.rs :: payment_method_details