Find the number of solutions for 4 { x } = x + [x], where { . }, [.] represents fractional part and greatest integer function.