Added count for pixels