Also, in the sentence Он сыграл в кино десятки ролей, is десятки a
declension of десятка or десяток?
this is a declined десяток
десятки
is never meant in a literal sense of quantity but just used to indicate great amount
within certain limits, in this case under 100
in this usage, as Alex_ander has noted, it's better to be understood as idiomatic dozens
likewise cотни
, тысячи
, десятки тысяч
and so on
at the same time десяток
and nouns just listed can indicate a precise number if appended by a numeral
Он сыграл в кино два десятка ролей
or express uncertainty about the accuracy of the number (quantity) if followed by one (this is a case of a more general syntactic rule)
Он сыграл в кино десятка два ролей
so in an attempt to summarize it might be said that десятка (and any other numeral cognate noun ending with -ка
such as тройка
, семёрка
, двадцатка
, пятидесятка
and so on) can be applied to something solid and indivisible, whereas десяток - to a set of separate items of one kind
the difference may be exemplified with the following sentence
Я купил десяток (штук) десяток = Я купил десять (штук) десяток
where the 2nd десятка
means an item numbered 10
, for example a spool of sewing thread size 10, and so the entire sentence means I've bought ten items of the (number) 10