The number of triangular packings of a vertex labelled graph on a torus