Fix login count type from string to integer