Function getTagCountByAccess
Checks if a tag is assigned at all and if it can be viewed by the current visitor and returns the corrected count Helper function used optionally within getAllTagsCount() and getAllTagsUnique()
array |
$tag |
Array representing a tag containing at least its name and id |
integer
|
int |