COUNT Function

Why instead of looping we cannot use ‘Count’ function for the problem ‘LUCKFOUR’ ?

You are taking n as integer and inside count function you are taking 4 as character.
Accepted Solution : Solution: 54375696 | CodeChef