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