MongoDB auto increment id counter for java