How to create a Number Widget?

Number Widget allows you to display the total of a certain field from a worksheet based on the criteria.