Implemented Amount.

Partial implementation of amount.