Statistics for Photoelectrochemical and solid-state photovoltaic cell sensitized with Cyanidin