Preheat your oven to 350°F (175°C).
In a large mixing bowl, combine the spinach, feta cheese, cottage cheese, egg, dill, salt, and black pepper.
Brush a baking dish with olive oil. Lay one sheet of phyllo dough in the dish and brush lightly with olive oil. Continue this process, layering and oiling each sheet until half of the phyllo dough is used.
Spread the spinach mixture evenly over the phyllo dough layers.
Continue layering the remaining phyllo sheets on top of the spinach mixture, brushing each sheet with olive oil.
Tuck in the edges of the phyllo dough, then cut into squares or triangles with a sharp knife.
Bake in the preheated oven for 40 minutes, or until the pastry is golden brown and crisp.
Remove from oven, let cool slightly, and serve warm.