8
The question is not bad, but it can use some improvements:
Keep to the point, there is a lot of text and that makes it hard to get to the question.
Code samples are great, but show only those really needed for the question.
Provide a title that matches the question, and do not include the tags....