Calculate no of mappers and reducers if not provided by user and delete intermediate reduce files