Statistics for Secure data aggregation protocol for sensor networks