adding 'count' to registration