Rearrange PSQL table
<p>I have a table that looks like this</p>

<pre><code>------------------------
 Letter | Status | Count
 A      | active | 3
 A      | offline| 1
 B      | active | 12
 B      | offline| 3
 C      | fixing | 4
 C      | active | 2
</code></pre>

<p>How can I make it looks like this</p>

<pre><code>-----------------------------------
 Letter | active | offline | fixing
 A      | 3      | 1       | 0
 B      | 12     | 3       | 0
 C      | 2      | 0       | 4
</code></pre>