Added context listeners to get counts for vertices and edges to cache
elements at application startup