Hi Jothi,
Can you try something like this-
1) Create Variable-
RowCount= If ([Event Detail Type]="Number of Rows" and Not Isnull(Trim([Event Detail Value]))) Then Trim([Event Detail Value])) Else "0"
2) Then convert to ToNumber
ToNumber(RowCount)
~Anuj