Thin-film solar cell counter electrode