Measuring vertex centrality using the Holevo quantity