use angular for count