Bugfix/divison between str and num

Values obtained from stat file are strings, we need to convert them to integers