check if count is int