Postgresql Row To Array Python Size Function In Ggplot2