Statistics for Performance Analysis of TCAMs in Switches