Enum.count -> length
Fix handling float
Small fix