Use "a number of" with plural countable nouns and plural verbs; use "an amount of" with uncountable mass nouns and singular verbs.
Mirrors the fewer/less distinction. You measure an amount, but you count a number.
"A large number of participants consumed a significant amount of water."
"Participants" can be tallied individually ("number"); "water" is continuous volume ("amount").
"People" are countable human beings, requiring "number".
Data analytics, scientific metrics, accounting, and professional reports.
Fewer applies to distinct countable items; Less applies to singular uncountable bulk, mass, or concepts.
Subjects and verbs must match in grammatical number (singular with singular, plural with plural).