They are not used in the same way.
'He visited a number of countries' (maybe three or four).
'He visited a great number of (or 'a great many') countries' (about 15 to 20).
'His alcoholism caused his family a great deal of hardship'.
'Passing my driving test gave me a great deal of pleasure'.
- For Teachers