Get file size from URL

How i can get file size in bytes using the file URL ?, I have tried native file plugin but without any luck, I tried getFile method but the returned file entry object does not inform the file size.

I do not fully understand the problem, where is this file ? On a server ? -> just use http “HEAD” method
Or is the size in the same object where there is the URL ?