Question: are delivered or were delivered?
Answer: In this case, "was", because what is delivered is "a number of bags", and "number" is uncountable, therefore you should use the singular "was". If the sentence had been "lots of bags", then it would be "were", because "lots" is plural.