Both phrases are used in describing the quantity of something.
Let’s get straight to the point. Use “amount of” followed by an uncountable noun, and “number of” with a countable noun.
Examples:
(a) amount of
money
water
time
interest
information
We have to acknowledge that the amount of false information on the Internet has caused lots of problems.
The amount of time spent . . . → Read More: “Amount of” or “number of”