Does my lijfrente count towards the assets test?

Not for box 3: capital built up within a lijfrente does not fall into box 3 during the accrual phase, so you pay no wealth tax on it.

For the assets test used for social assistance or benefits the position can differ, and the outcome depends on your personal situation and the type of scheme. For that, rely on the rules of the relevant authority or check with a tax specialist.