update to longCount()