SELECT count(t.tags_id) FROM vtags AS t INNER JOIN tags AS y ON(t.tags_id = y.id) where dateint <=time()