Added functionality for counting flows and groups.

This patch contains functionality for counting flows / groups.
The existing tests have been modified in order to work this way,
however, we use a flag that indicates if to check flows and groups.
As of now it is False, since I observed that between some iterations
the same test produced different flows and groups at the switches.

This might be a bug that we need to discuss about.

Change-Id: Ie56333623c6e0eb9d8e03f51894078bcd272df2e
diff --git a/TestON/tests/USECASE/SegmentRouting/SRRouting/dependencies/count/COMCAST_CONFIG_ipv4=1_ipv6=1_dhcp=1_routers=1.count b/TestON/tests/USECASE/SegmentRouting/SRRouting/dependencies/count/COMCAST_CONFIG_ipv4=1_ipv6=1_dhcp=1_routers=1.count
new file mode 100644
index 0000000..9b3932e
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRRouting/dependencies/count/COMCAST_CONFIG_ipv4=1_ipv6=1_dhcp=1_routers=1.count
@@ -0,0 +1,9 @@
+{
+    "of:0000000000000001": { "flows" : 96, "groups" : 88},
+    "of:0000000000000002": { "flows" : 131, "groups" : 127},
+    "of:0000000000000003": { "flows" : 141, "groups" : 131},
+    "of:0000000000000004": { "flows" : 145, "groups" : 131},
+    "of:0000000000000005": { "flows" : 154, "groups" : 134},
+    "of:0000000000000101": { "flows" : 85, "groups" : 29},
+    "of:0000000000000102": { "flows" : 85, "groups" : 29}
+}