mapReduce count function working..