This works:
julia> length((typeof((4,5,5.0))).parameters)
3
Not sure that it is the best way.