Spark Neo4j integration cypher query not returning any value

I have setup spark context and everything works & connects fine without any issues but when I run below query, though I have lot of nodes in neo4j database but it returns 0.

val neo = Neo4j(sc)
val rdd = neo.cypher("cypher MATCH (n:User) RETURN id(n) as id ").loadRowRdd
println(rdd.count())

There isn't any error , it just prints 0