Thanks Boxuan! I tried the single query and that worked accurately!
On the other hand, I am still trying to figure out why the where traversal e.g. where(__.out("edgeCB").is("B")) didnt work. Is it because "B" is considered as literal instead of step label?
Also thanks for pointing me to the gremlin-users group.