The noun apple pie can be countable or uncountable.
The singular form of apple pie is also apple pie.