Changed model and process from original project to have more precise statistics concerning differents types for a field