Statistics for Iot Based Home Automation And Security