[SOLVED]
Hi me,
I anwsered myself !
It is easy when you know the way. With smarty you can use $colors which includes all colors of an article an use the function count to sum all its colors.
{$colors|count}
Maybe that will helps someone else.
Thanks me, bye