Estimating the Counterparty Risk Exposure by Using the Brownian Motion Local Time