Resistive Switching Statistics in MIM structures for Non-volatile memory applications