add snippets counter cache