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