How to calculate number of submitted webforms? I want to show the number of submitted webforms in a block in the front page of my website.

I searched and found (( function webform_get_submission_count )) . But I'm absolute beginner: I know it is inside webform.submission.inc, but then where shall I call it? How to place it in a block like in the following image:



Any help would be greatly appreciated.
Another option would be to use Views to create a view of webform submissions, and display the count from that.