Here is my code:
var image = $('#image_gms');
console.log(image[0].files.length);
console.log(image[0].files.size);
And result:
1
undefiend
So files.length
returns me 1 (there is an image) but cannot get the size, i'm following second answer from this question.