Suppose that initially David received only 1 gift from his parents instead of 3 gifts on his birthday, and he still received 2 gifts from his friend. How many gifts did he receive in total on his birthday in this case?