Statistics for Electrochemical synthesis of functional nanowires