added count resource