Tuesday+Middles

Neil has pigs and chickens on his farm.

He counted his animals and found that there were 15 heads and 44 legs.

How many of each type of animal does Neil have?