As yo explain this problem, you could just check the number of adverts the user has in the add function. Something like this pseudo code
adverts = User.adverts
if adverts.length > 3
flash too many adverts
all is normal and the user can add adverts
I can’t see a need to do this in before filters.