The court may award to a prevailing party, as part of the judgment, a sum equal to the aggregate amount of costs and expenses, including reasonable attorney's fees based on actual time expended, determined by the court to have been reasonably incurred by the prevailing attorney for, or in connection with, the prosecution of the action.