Removing tag if this is not linked to any node
Adding comments to count method