Counting Pets

AplusclickSimpleProblem

Gerry has several pets at home.

All of them are dogs, except for three.

All of them are cats, except for four.

All of them are tortoises, except for five.

How many dogs does he have?