Started without knowing about bitmap**
To get total pixels in bitmap height*Width
To get total white pixels Where R==255 & B==255 & G==255
I have found myself, for viewers convenience for re usage, adding the correction(Question is updated with the answer already).
To get total pixels use image dimensions, instead of counting the looping pixels in bitlockdata.
Image page= new Image(filePath);
double nTotal = page.Width * page.Height;