YOU SAID:
how many pigs are in a pizza
INTO JAPANESE
ピザに何匹の豚がいるか
BACK INTO ENGLISH
How many pigs are there in pizza?
INTO JAPANESE
ピザには何匹の豚がいますか?
BACK INTO ENGLISH
How many pigs are there in pizza?
That didn't even make that much sense in English.