Postgresql Count If Not Null In Google