}
private static Item format(Map<Node, Integer> predicates, Map<Node, Integer> types, long count)
{
Item stats = Item.createList() ;
ItemList statsList = stats.getList() ;
statsList.add("stats") ;
Item meta = createTagged(StatsMatcher.META) ;
addPair(meta.getList(), "timestamp", NodeFactoryExtra.nowAsDateTime()) ;
addPair(meta.getList(), "run@", Utils.nowAsString()) ;
if ( count >= 0 )
addPair(meta.getList(), StatsMatcher.COUNT, NodeFactoryExtra.intToNode((int)count)) ;
statsList.add(meta) ;
for ( Entry<Node, Integer> entry : types.entrySet() )
{
Node type = entry.getKey() ;
addTypeTriple(statsList, type, NodeFactoryExtra.intToNode(entry.getValue()) ) ;