for a multilegged dog??

S , by body is a caterpillar,how many legs it has in total?