Add patch sets metric

Change-Id: I52514b53f5afb3256a64d00f61e966ed559b0b7d
Merge "Add patch sets metric"