I want to find the first span element after class counter, in code something like this:
I think the siblings() function is what you are looking for. Try something like this:
siblings()
$(".counter").siblings("span");