I need some logic from your side.I want to count the number of element present n-between that starting and ending value Like
Input :Starting point in 1
end point is :10
Search :2
count :1(only 2)
Input :Starting point in 1
end point is :20
Search :2
count :3(only 2, 12 ,20)
function(var start,var end,var searchItem){
for(var start;start<=end;start++)
}