SELECT COUNT(*) FROM (SELECT FROM User WHERE Email=:p0)
SELECT COUNT(*) FROM User WHERE Email=:p0
HashMap<String, Object> params = new HashMap<String, Object>();
params.put("p0", "mail");
Iterable<Vertex> result=g.command(new OCommandSQL("SELECT COUNT(*) FROM (SELECT FROM User WHERE Email=:p0)")).execute(params);
for(Vertex v: result){
System.out.println(v.getProperty("COUNT"));
}