Let's see why you failed what you tried:
WHERE Id=36251
and Id > 36251
You are asking if each record has id = 36251 and if, in addition, at the same time, each record has id greater than 36251. Obviously, a record has a unique id, so it fulfills one of the two conditions, but not the two at the same time. and how you put it, it's not going to work, since it's both at the same time.
Now, assuming that we can use the id as a basis, that is, the greater the id, the comment is newer, your query should be something like this:
SELECT COUNT(id) AS num_comentarios
from sala_muro_comentarios
WHERE id_tema=(select id_tema from sala_muro_comentarios where Id = 36251)
and Id > 36251
group by id_tema
What does this query ???? The inside part:
select id_tema from sala_muro_comentarios where Id = 36251
Returns a single record, with the subject_id of that comment. So, that's our subject, and the one we use in the main query. And then, we check it only for comments later than this one.