Add the birds on the roof and the birds flying: 5 + 3 = 8.

There are 8 birds altogether.

Final Answer: 8