Fixing issue 227: re-defining '$templates' in count_premium_templates()

Defining $templates again in the count_premium_templates function allows the page to load properly even if the marketplace is down.

May not be the most elegant solution but it works.

https://github.com/circa75/dropplets/issues/227