Get counts of items directly in classes

count_items(classes)

Arguments

classes

the vector wikidata classes

Examples

classes=c("wd:Q627272","wd:Q99527517") count_items(classes)
#> [1] 218 0