Also tried the second suggestion:
words=> select count(action="" from words_moves where gid=3 group by played order by played desc limit 6;
count
-------
1
1
1
1
1
1
(6 rows)
words=> select count(action="" from words_moves where gid=3 group by played order by played desc limit 6;
count
-------
1
1
1
1
1
1
(6 rows)