Postgresql Count Columns In Pandas