CountNonDivisiable solution