Why is «درهمًا» accusative?

At-Tamyīz: Clarifying Quantities and Sentence Relations