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