Number of questions solved

I have solved 8 questions but on my profile the number is 6 only.

if you are solving problems from learning section then that will not be counted , only if you are solving questions from practice section then after it will be considered .
same type of problem happened with me also …most probably there is a bug in the website.