I managed to fill the entire grid with the temples and my score is somehow 8. Is that meant to happen?
Yes, the temples do not yield any score. They can be used to protect your other buildings and to delay floods.
Oh ok.