How do I find the size of a Matrix object?

The error you get after you try

size(A)

probably means that you had already assigned an Int64 value to a variable you called ‘size’ on the global scope.
This would have masked the call to DataFrames.size when using it without the Module name (i.e. DataFrames).