reverted change of count() signature