You are provided the following image
0000000000
0111111100
0000111100
0000111100
0001111100
0000111100
0001100000
0000000000
0000000000
The structuring element is given below, and its' origin is the middle pixel.
111
111
111
What is the total number of pixels marked 1 in the image obtained after is opened with the structuring element ? Only enter the integer, or a program to compute it.