It's difficult to give an exact number for the total number of stories he wrote because:
* He published a mix of novels, novellas, and short stories.
* Some of his short stories appeared in collections, so the total number of stories would depend on how you count those.
Therefore, it's safe to say that Roald Dahl wrote dozens of stories throughout his career.