Use COUNT(*) / code style

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>